<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>系统行为</title>
    <link rel="stylesheet" href="<?=adminassets?>assets/pear/component/pear/css/pear.css" />
</head>

<body class="pear-container">


    <div class="layui-card layui-form" lay-filter="component-form-element" style="margin-top: 10px;">
        <div class="layui-card-header">网站公告配置</div>
        <div class="layui-card-body layui-row layui-col-space10">
            <form onsubmit="return saveSetting(this)" method="post" role="form">
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户中心弹出公告</label>
                        <div class="layui-input-block">
                            <textarea name="modal" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['modal']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">首页弹出公告第一行</label>
                        <div class="layui-input-block">
                            <textarea name="sygg1" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['sygg1']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">首页弹出公告第二行</label>
                        <div class="layui-input-block">
                            <textarea name="sygg2" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['sygg2']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户中心三网免挂公告</label>
                        <div class="layui-input-block">
                            <textarea name="erweimagg" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['erweimagg']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户中心当面付公告</label>
                        <div class="layui-input-block">
                            <textarea name="dmfgg" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['dmfgg']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户中心首页公告</label>
                        <div class="layui-input-block">
                            <textarea name="yhsygg" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['yhsygg']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户中心小铃铛信息标题</label>
                        <div class="layui-input-block">
                            <textarea name="xxbiaoti" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['xxbiaoti']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">用户中心小铃铛信息</label>
                        <div class="layui-input-block">
                            <textarea name="xxtx" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['xxtx']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">注册页面公告内容</label>
                        <div class="layui-input-block">
                            <textarea name="zhucegg" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['zhucegg']; ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-col-md6">
                    <div class="layui-form-item">
                        <label class="layui-form-label">首页底部排版</label>
                        <div class="layui-input-block">
                            <textarea name="footer" placeholder="请输入" class="layui-textarea"><?php echo $this->conf['footer']; ?></textarea>
                        </div>
                    </div>
                </div>

                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">注册页面公告开关</label>
                        <div class="layui-input-block">
                            <select name="zhucekg" default="<?php echo $this->conf['zhucekg'] ?>">
                                <option value="1" <?= $this->conf['zhucekg'] == 1 ? "selected" : "" ?>>开启</option>
                                <option value="0" <?= $this->conf['zhucekg'] == 0 ? "selected" : "" ?>>关闭</option>
                            </select>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="pear-btn pear-btn-primary">更新数据</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</body>
<script src="<?=adminassets?>assets/pear/component/layui/layui.js"></script>
<script src="<?=adminassets?>assets/pear/component/pear/pear.js"></script>
<script src="<?=adminassets?>assets/js/core_js/set.js"></script>
<script type="text/javascript" src="<?=JQueryJS?>"></script>